import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import userList from '@/views/userList'
import elementui from '@/views/elementui'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/user',
      name: 'users',
      component: userList
    },
    {
      path: '/elementui',
      name: 'elementui',
      component: elementui
    }

  ]
})
